<%@ Page PathInChannel="teacher/view/{ID}{Ext}" %>
<!doctype html>
<html lang="<%=PageLang%>"<%If PageLang == "UYG"%> class="rtl"<%EndIf%>>
<head>
<ali:Get ID="Teacher" Mark="Course" Object="Teacher" InnerID="Request.QueryString['ID']" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
<title><%=Teacher[Name]%></title>
<link rel="stylesheet" href="<%=CommonPath%>aliui/skin/default/ali.mobile.css">
<link rel="stylesheet" href="<%=CommonSkinPath%>css/common.css">
<link rel="stylesheet" href="<%=CustomCss%>">
</head>
<body>
<div class="page flex" id="teacher-view" data-id="<%=Teacher[InnerID]%>">
	<!-- start="标题栏" -->
	<div class="titlebar"><a class="back"></a><h1><%=Teacher[Name]%></h1><a class="share"></a></div>
	<!-- end="标题栏" -->
	
	<!-- start="内容" -->
	<div id="teacher-view-body">
		<!-- start="头部" -->
		<div id="teacher-view-head">
			<img src="<%=Teacher[Picture]%>">
			<h1><%=Teacher[Name]%></h1>
			<p><label>人气：</label><span><%=Teacher[HitCount]%></span></p>
		</div>
		<!-- end="头部" -->

		<!-- start="他的介绍、他的课程" -->
		<div class="tab2 margin1">
			<h1 class="tab2-bar"><a class="active">他的介绍</a><a>他的课程</a></h1>
			<div class="tab2-content">
				<!-- start="他的介绍" -->
				<div class="active"><%=Teacher[Description]%></div>
				<!-- end="他的介绍" -->

				<!-- start="他的课程" -->
				<div>
					<ali:List Mark="Course" Object="Course" Condition="IsDeleted=false and IsReleased=true and TeacherID=Teacher[ID]">
						<ul class="list6">
							<ali:Record>
								<li>
									<a href="<%=BuildUrl(null, "course/view", "ID=" + InnerID)%>">
										<img src="<%=Thumbnail%>">
										<h2><%=Name%></h2>
										<h3><label>价格：</label><em><%=Convert.ToDecimal(Price).ToString("0.00")%></em></h3>
									</a>
								</li>
							</ali:Record>
						</ul>
					</ali:List>
				</div>
				<!-- end="他的课程" -->
			</div>
		</div>
		<!-- end="他的介绍、他的课程" -->
	</div>
	<!-- end="内容" -->
</div>
<script src="<%=CommonPath%>jquery/core3.js"></script>
<script src="<%=CommonPath%>aliui/ali.mobile.min.js"></script>
<script src="<%=JsPath%>common.js"></script>
<%=SubSite[StatCode]%>
<%=StatCode%>
</body>
</html>
